import NetWork from '@/service/_request.js'
class meteoroStaCompreApi {
  //综合统计-24小时最高温、24小时最低温
  async post_tb_skzdzs_jx_tempMaxAndMin(params) {
    return NetWork.post(
      '/itg/dlqxfw/rds/analysis/censusTotal/tb-Skzdzs-Jx/post_tb-skzdzs-jx_tempMaxAndMin',
      params
    )
  }
  //根据市查询各区县日最大降水量,根据市查询各区县日累计降水量
  async post_tb_skzdzs_jx_preList(params) {
    return NetWork.post(
      'itg/dlqxfw/rds/analysis/censusTotal/tb-Skzdzs-Jx/post_tb-skzdzs-jx_preList',
      params
    )
  }
  //综合统计-地区最高/最低湿度
  async post_tb_skzdzs_jx_rhuAreaCount(params) {
    return NetWork.post(
      'itg/dlqxfw/rds/analysis/censusTotal/tb-Skzdzs-Jx/post_tb-skzdzs-jx_rhuAreaCount',
      params
    )
  }
  //综合统计-地区最大/最小极大风速
  async post_tb_skzdzs_jx_winSinstMaxCount(params) {
    return NetWork.post(
      'itg/dlqxfw/rds/analysis/censusTotal/tb-Skzdzs-Jx/post_tb-skzdzs-jx_winSinstMaxAreaCount',
      params
    )
  }
  //综合统计-历史最高最低气温
  async get_tb_skzdzs_jx_histtem(params) {
    return NetWork.get(
      'itg/dlqxfw/rds/analysis/censusTotal/tb-Skzdzs-Jx/get_tb-skzdzs-jx_histtem',
      params
    )
  }
  //综合统计-雷电
  async post_tb_ldsj_thunderCount(params) {
    return NetWork.post(
      'itg/dlqxfw/rds/analysis/censusTotal/tb_ldsj/post_tb_ldsj_thunderCount',
      params
    )
  }
  //综合统计-根据经纬度查询周边信息（温度、湿度）
  async getLapsById(params) {
    return NetWork.get('itg/dlqxfw/rds/geoapi/laps/getLapsById', params)
  }
  //综合统计列表
  async ComprehensiveStatistics(params) {
    return NetWork.get(
      '/itg/dlqxfw/rds/analysis/censusTotal/tb-Skzdzs-Jx/comprehensiveStatistics',
      params
    )
  }
}
export default new meteoroStaCompreApi()
